<?php


namespace app\admin\model;


class OrderItem extends Base
{
    protected $autoWriteTimestamp = 'datetime';

    /***
     * Desc:管理商品表
     * User: HAIYUN
     * Date: 2022/2/26 21:59
     */
    public function book() {
        return $this->belongsTo('Book','item_id');
    }
}